package com.hotel.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@Data
@NoArgsConstructor
@ApiModel(description = "账单")
@Builder
public class Bill extends BaseEntity{
    /**
     * 账单id
     */
    private Long id;
    /**
     * 入住记录id
     */
    private Long checkInId;
    /**
     * 账单编号
     */
    private String billNumber;
    /**
     * 房间金额
     */
    private BigDecimal roomCharges;
    /**
     * 服务费用
     */
    private BigDecimal serviceCharges;
    /**
     * 账单金额
     */
    private BigDecimal totalCharges;
    /**
     * 已付金额
     */
    private BigDecimal paidAmount;
    /**
     * 待支付
     */
    private BigDecimal unpaidAmount;
}
